{|include file="header.htm"|}

<script type="text/javascript">
function validate_loginForm(frm) {
  var value = '';
  var errFlag = new Array();
  _qfMsg = '';

  value = frm.elements['username'].value;
  if (value == '' && !errFlag['username']) {
    errFlag['username'] = true;
    _qfMsg = _qfMsg + '\n - {|$lang.user|}{|$lang.nonull|}！';
  }

  value = frm.elements['username'].value;
  if (value != '' && value.length < 1 && !errFlag['username']) {
    errFlag['username'] = true;
    _qfMsg = _qfMsg + '\n - {|$lang.note12|}';
  }

  value = frm.elements['password'].value;
  if (value == '' && !errFlag['password']) {
    errFlag['password'] = true;
    _qfMsg = _qfMsg + '\n - {|$lang.password|}{|$lang.nonull|}！';
  }

  if (_qfMsg != '') {
    _qfMsg = 'Invalid information entered.' + _qfMsg;
    _qfMsg = _qfMsg + '\nPlease correct these fields.';
    alert(_qfMsg);
    return false;
  }
  return true;
}
</script>
<br />

<div align="center">
<table width="50%"  height="130">
	  <tr>
	  <td colspan="2">{|$lang.pleaseinput|}{|$lang.user|}{|$lang.info|}</td>
	  </tr>
	  <form action="index.php?module=index&act=doRegiste" method="post" name="loginForm" id="loginForm" onsubmit="return validate_loginForm(this);">
		<tr> 
		  <td height="37" width="31%"> <div align="center" class="navtext">{|$lang.user|}{|$lang.name|}:</div></td>
		  <td> <input type="text" name="username"> 
		  </td>
		</tr>
		<tr> 
		  <td> <div align="center" class="navtext">{|$lang.login|}{|$lang.password|}:</div></td>
		  <td> <input type="password" name="password"> 
			<input type="hidden" name="jumpurl" value="{|$jumpurl|}"> 
		  </td>
		</tr>
		<tr> 
		  <td> <div align="center" class="navtext">{|$lang.repasswd|}:</div></td>
		  <td> <input type="password" name="repasswd"> 
			<input type="hidden" name="jumpurl" value="{|$jumpurl|}"> 
		  </td>
		</tr>
		<tr> 
		  <td width="31%">&nbsp;</td>
		  <td width="69%"> <input type="submit" name="Submit" value=" {|$lang.registe|} "> 
		  </td>
		</tr>
		</form>
</table>
</div>
{|include file="foot.htm"|}

